\usepackage{fancyhdr}
\pagestyle{fancy}
%\renewcommand{\sectionmark}[1]{\markright{Capitulo \thesection\  - #1}}
% esto es magico asi que �no tocar!
%\renewcommand{\rightmark}[1]{\rightmark{Capitulo \thechapter\ - #1 }}
%\renewcommand{\leftmark}[1]{\leftmark{Parte \thesection\ }}


%\renewcommand{\chaptermark}[1]{\markboth{#1}{}}
\renewcommand{\sectionmark}[1]{\markright{ \thesection\ #1}}

\fancyhf{}
%\fancyhead[RO]{\thepage}
%\\\fancyhead[RO]{\rightmark}
%\fancyhead[RO]{Cap�tulo \thechapter\ } %\leftmark
\fancyhead[LO]{\rightmark} % \thesection\ 
\fancyfoot[LO]{\small{Valdez, Gonzalez, Melendez}}
\fancyfoot[RO]{\thepage}
\renewcommand{\headrulewidth}{0.5pt}
\renewcommand{\footrulewidth}{0.5pt}
\setlength{\hoffset}{-0.8in}
\setlength{\textwidth}{16cm}
%\setlength{\hoffset}{-1.1cm}
%\setlength{\textwidth}{16cm}
\setlength{\headsep}{0.5cm}
\setlength{\textheight}{25cm}
\setlength{\voffset}{-0.7in}
\setlength{\headwidth}{\textwidth}
\setlength{\headheight}{13.1pt}

\renewcommand{\baselinestretch}{1.1}  % line spacing

